<template>
    <b-field label="Select a date">
        <b-datepicker placeholder="Click to select..." v-model="dates" range>
        </b-datepicker>
    </b-field>
</template>

<script lang="ts">
import { defineComponent } from "vue";
import { BDatepicker, BField } from "buefy";

export default defineComponent({
    components: {
        BDatepicker,
        BField,
    },
    data() {
        return {
            dates: [],
        };
    },
});
</script>
